package com.starblink.utils.ext.function

import com.blankj.utilcode.util.SizeUtils


fun Int.dp2px(): Int = SizeUtils.dp2px(this.toFloat())

fun Int.px2dp(): Int = SizeUtils.px2dp(this.toFloat())

fun Float.dp2px(): Int = SizeUtils.dp2px(this)

fun Float.px2dp(): Int = SizeUtils.px2dp(this)